/*
 *   Copyright (c) 2010-2022, SIUFUNG
 */
package net.siufung.market.base.dept.controller.model.dto.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;
import net.siufung.core.page.PagerDto;
import org.hibernate.validator.constraints.Length;

/**
 * @author 陈建峰
 * @since 2022-07-13 22:40:52
 */
@Slf4j
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="DeptPageDto", description="系统部门数据分页传输对象")
public class DeptPageDto extends PagerDto {

    private static final long serialVersionUID = 2008165579538403486L;

    /**
     * 部门名称
     */
    @Length(max=255, message="部门名称长度不大于255!")
    private String deptName;

    /**
     * 部门编码
     */
    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    /**
     * 类别
     */
    @ApiModelProperty(value = "类别")
    private String deptType;

}